<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>客运公司加盟反馈</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			//$("#name").focus();
			
/* 			$(":input").prop("disabled", true);
			$(":submit").prop("disabled", true);
			$("select").prop("disabled", true);
			$("#btnCancel").prop("disabled", false);
			$("#btnSubmit").prop("disabled", false); */
			
			$("#inputForm").validate({
				submitHandler: function(form){
					loading('正在提交，请稍等...');
					form.submit();
				},
				errorContainer: "#messageBox",
				errorPlacement: function(error, element) {
					$("#messageBox").text("输入有误，请先更正。");
					if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
						error.appendTo(element.parent().parent());
					} else {
						error.insertAfter(element);
					}
				}
			});
		});
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li><a href="${ctx}/applycargo/tApplycargo/">客运公司加盟列表</a></li>
		<li class="active"><a href="${ctx}/applycargo/tApplycargo/form?acid=${tApplycargo.acid}">客运公司加盟反馈</a></li>
	</ul><br/>
	<form:form id="inputForm" modelAttribute="tApplycargo" action="${ctx}/applycargo/tApplycargo/save" method="post" class="form-horizontal">
		<form:hidden path="acid"/>
		<sys:message content="${message}"/>		
		<div class="control-group">
			<label class="control-label">联系人：</label>
			<div class="controls">
				<form:input path="contacts" htmlEscape="false" maxlength="30"  readonly="true" class="input-xlarge required"/>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">联系人手机：</label>
			<div class="controls">
				<form:input path="contactstel" htmlEscape="false" maxlength="20"  readonly="true" class="input-xlarge required"/>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">联系人邮箱：</label>
			<div class="controls">
				<form:input path="email" htmlEscape="false" maxlength="200" readonly="true" class="input-xlarge "/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">公司名称：</label>
			<div class="controls">
				<form:input path="companyname" htmlEscape="false" maxlength="100" readonly="true" class="input-xlarge required"/>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">运营范围：</label>
			<div class="controls">
				<form:input path="range" htmlEscape="false" maxlength="255" readonly="true" class="input-xlarge required"/>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">车辆规模：</label>
			<div class="controls">
				<form:input path="vehinum" htmlEscape="false" readonly="true" class="input-xlarge required digits"/>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div>
<%-- 		<div class="control-group">
			<label class="control-label">状态：</label>
			<div class="controls">
				<form:input path="auditstatus" htmlEscape="false" maxlength="1" class="input-xlarge required"/>
				<span class="help-inline"><font color="red">*</font> </span>
			</div>
		</div> --%>
		<div class="form-actions">
			<shiro:hasPermission name="applycargo:tApplycargo:edit"><input id="btnSubmit" class="btn btn-primary" type="submit" value="确定已反馈"/>&nbsp;</shiro:hasPermission>
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
		</div>
	</form:form>
</body>
</html>